package com.qing.cmsservice.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.qing.cmsservice.entity.pojo.CrmBanner;
import com.baomidou.mybatisplus.extension.service.IService;
import com.qing.servicebase.utils.ResponseResult;

/**
 * <p>
 * 首页banner表 服务类
 * </p>
 *
 * @author Yjx
 * @since 2022-09-14
 */
public interface CrmBannerService extends IService<CrmBanner> {

    ResponseResult selectIndexList();

    ResponseResult pageBanner(Page<CrmBanner> pageParam, Object o);

    ResponseResult getBannerById(String id);

    ResponseResult saveBanner(CrmBanner banner);

    ResponseResult updateBannerById(CrmBanner banner);

    ResponseResult removeBannerById(String id);

}
